package cz.zcu.fav.ratdroid.activity.calendar.reservation;

import cz.zcu.fav.ratdroid.bean.Period;
import cz.zcu.fav.ratdroid.bean.PickAction;
import android.os.Bundle;

public class CreatePickUpReservationActivity extends CreateReservationActivity
{ 
	public static int PICK_UP_ACTIVITY_REQUEST_CODE = 4;
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		getSinceButtonDate().setEnabled(false);
		getSinceButtonTime().setEnabled(false);
		getPeriodicalSwitch().setEnabled(false);
		getValidSwitch().setEnabled(false);
	}
	
	public Period loadBackgroudData() {
		Period period = super.loadBackgroudData();
		//send it as a picked object
		period.setPickAction(PickAction.PICKED);
		return period;
	}

	
}
